/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import javax.swing.*;

/**
 * <p>Project: javase202202 - Out1
 * <p>Powered by Lisi On 2022-05-31 14:24:12
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class Out1 {
    public static void main(String[] args) {
        //println
        System.out.println();
        System.out.println("\n\n\n");
        System.out.println(3);
        System.out.println("hello中文");

        System.out.println();

        //print
        //System.out.print(); 错误的，系统中没有无参的print()方法
        System.out.print('a');
        System.out.print("\n"+(int)'a');
        System.out.println();
        System.out.println(3+3+5+6);

        JOptionPane.showMessageDialog(null,"欢迎使用本软件","系统提示",JOptionPane.QUESTION_MESSAGE);
        JOptionPane.showMessageDialog(null,"程序退出");

    }
}
